/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package renderedClases;

import java.awt.Component;
import javax.swing.DefaultListCellRenderer;
import javax.swing.JList;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;
import persistencia.Inmueble;

/**
 *
 * @author hellwolf
 */
public class InmueblesRendered implements TableCellRenderer {

    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        Component c = null;
        return c;
    }

    /*@Override
    public Component getListCellRendererComponent(
            JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
        super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
        setText("");
        if (value instanceof Inmueble) {
            Inmueble i = (Inmueble) value;
            setText(String.valueOf(i.getId()));
        }
        return this;
    }*/
}
